<include file="Public:searchBar" />
<div class="pageContent">
    <include file="Public:panelBar" />
    <table class="table" width="100%" layouth="112">
        <thead>
            <tr>
                <th onclick="goorder('{$mpk}')">
                    编号
                </th>
                <th width="150px">
                    会员名称
                </th>
                <th>
                    订单数
                </th>
                <th>
                    创建时间
                </th>
                <th width="180">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
            <volist name="datalist" id="vo">
                <tr id="list_{$vo[$mpk]}" target="sid_<?=$Think.MODULE_NAME ?>" rel="{$vo[$mpk]}">
                    <td>
                        <input type="hidden" name='{$mpk}s[]' value="{$vo[$mpk]}"/>{$vo[$mpk]}
                    </td>
                    <td>
                        {$vo.username}
                    </td>
                    <td>
                        <a href="{:U('Orderform/index?member_id='.$vo[$mpk])}" target="navTab" rel="memeberOrderform{$vo.member_id}">{$vo.orderform|count}</a>
                    </td>
                    <td>
                        {$vo.created|date="y-m-d H:i:s",###}
                    </td>
                    <td>
                        <a href="{:U('/view?'.$mpk.'='.$vo[$mpk])}" class="tbutton" target="dialog" width="680" height="480" rel="view{$mdomid}" title="会员:{$vo[$mpk]}">查看</a>
                       <a href="{:U('del')}" target="ajaxTodo" title="确定要删除吗?" data="{$mpk}={$vo[$mpk]}" class="tbutton">删除</a>
                    </td>
                </tr>
            </volist>
        </tbody>
    </table>
    <include file="Public:pageBar" />
</div>